<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link rel="stylesheet" href="<{'static/css/bootstrap/bootstrap.min.css'|url}>" />
		<link rel="stylesheet" href="<{'static/css/bootstrap/bootstrap-responsive.min.css'|url}>" />
		<!--[if lt IE 6]> <link rel="stylesheet" href="<{'static/css/bootstrap/bootstrap-ie6.min.css'|url}>" /> <![endif]-->

		<{include file='html.tpl'}>
		<script src="<{'static/js/jquery.peity.min.js'|url}>"></script>
		<link rel="stylesheet" href="<{'static/css/unicorn.main.css'|url}>" />
		<link rel="stylesheet" href="<{'static/css/unicorn.grey.css'|url}>" class="skin-color" />
		<{include file="form.tpl"}>

		<script src="<{'static/js/bootstrap/bootstrap.min.js'|url}>"></script>
		<!--[if lt IE 6]> <script src="<{'static/js/bootstrap/bootstrap-ie.js'|url}>"></script> <![endif]-->
	</head>
	<body>


		<div id="header">
			<h1><a href="<{'admin'|url}>">Home</a></h1>
		</div>
		<{include file="admin/nav.tpl"}>

		<{include file="admin/sidebar.tpl"}>

		<{include file="admin/style-switcher.tpl"}>

		<div id="content">
			<div id="content-header">
				<h1>首頁</h1>
				<{include file="admin/widget.tpl"}>
			</div>
			<div id="breadcrumb">
				<a href="<{'admin'|url}>" title="返回首頁" class="tip-bottom"><i class="icon-home"></i> 後臺</a>
				<a href="<{'admin'|url}>" class="current">首頁</a>
			</div>
			<div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
						<div class="alert alert-info">
							學而時習之，不亦說(yuè)乎？有朋自遠方來，不亦樂(lè)乎？人不知而不慍，不亦君子乎？
							<a href="#" data-dismiss="alert" class="close">×</a>
						</div>
					</div>
				</div>

				<{include file="admin/copyright.tpl"}>

			</div>
		</div>

<{include file="admin/footer.tpl"}>
<script>
(function($){
$(document).ready(function() {
	$.fn.peity.defaults.bar = {
		delimiter: ",",
		fill: ["#4d89f9"],
		gap: 1,
		height: 24,
		max: null,
		min: 0,
		width: 50
	}

	$.fn.peity.defaults.line = {
		delimiter: ",",
		fill: "#c6d9fd",
		height: 24,
		max: null,
		min: 0,
		stroke: "#4d89f9",
		strokeWidth: 1,
		width: 50
	}
	$('span','.peity_line_good').peity("line", {
		fill: "#B1FFA9",
		stroke: "#459D1C"
	});
	$('span',".peity_line_bad").peity("line", {
		fill: "#FFC4C7",
		stroke: "#BA1E20"
	});
	$('span',".peity_line_neutral").peity("line", {
		fill: "#CCCCCC",
		stroke: "#757575"
	});
	$('span',".peity_bar_good").peity("bar", {
		fill: ["#459D1C"]
	});

	$('span',".peity_bar_bad").peity("bar", {
		fill: ["#BA1E20"]
	});

	$('span',".peity_bar_neutral").peity("bar", {
		fill: ["#757575"]
	});
});
})(jQuery);
</script>
	</body>
</html>
